package com.lovo.pis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.pis.dto.BuyCarGoodsBean;
import com.lovo.pis.dto.PageBean;
import com.lovo.pis.dto.SellCarGoodsBean;
import com.lovo.pis.dto.StockGoodsBean;
import com.lovo.pis.mapper.SellCarGoodsMapper;
import org.springframework.web.bind.annotation.RequestBody;

public interface ISellCarGoodsService {

    IPage<SellCarGoodsBean> queryAllBuyCarGoods(PageBean<SellCarGoodsBean> pageInfo);

    double getSumPrice(int carId);

    int changeItem(int carId, int id,int number);

    void removeById(int carId,int id);

    void addBuyCarGoods(int id,int carId);

}
